package com.youlai.boot.system.converter;

import org.mapstruct.Mapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.youlai.boot.system.model.entity.ProductSales;
import com.youlai.boot.system.model.form.ProductSalesForm;

/**
 * 商品销售数据对象转换器
 *
 * @author xiheforever
 * @since 2025-05-12 23:29
 */
@Mapper(componentModel = "spring")
public interface ProductSalesConverter{

    ProductSalesForm toForm(ProductSales entity);

    ProductSales toEntity(ProductSalesForm formData);
}